﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 料品信息 Copy DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CopyOfItemInfoData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CopyOfItemInfoData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
					ItemGrade= -1; 
							ItemPotency= -1; 
				
		
		
		
		
		
		
		
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CopyOfItemInfoData(  UFIDA.U9.CBO.SCM.Item.ItemMasterData itemID  , System.String itemName  , System.String itemCode  , System.Int32 itemGrade  , System.Int32 itemPotency  , UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData itemOpt1  , UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData itemOpt2  , UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData itemOpt3  , UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData itemOpt4  , UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData itemOpt5  , UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData itemOpt6  , UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData itemOpt7  , UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData itemOpt8  , UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData itemOpt9  , UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData itemOpt10  )
		{
			initData();
			this.ItemID = itemID;
			this.ItemName = itemName;
			this.ItemCode = itemCode;
			this.ItemGrade = itemGrade;
			this.ItemPotency = itemPotency;
			this.ItemOpt1 = itemOpt1;
			this.ItemOpt2 = itemOpt2;
			this.ItemOpt3 = itemOpt3;
			this.ItemOpt4 = itemOpt4;
			this.ItemOpt5 = itemOpt5;
			this.ItemOpt6 = itemOpt6;
			this.ItemOpt7 = itemOpt7;
			this.ItemOpt8 = itemOpt8;
			this.ItemOpt9 = itemOpt9;
			this.ItemOpt10 = itemOpt10;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 料品
		/// 料品信息 Copy.Misc.料品
		/// </summary>
		private UFIDA.U9.CBO.SCM.Item.ItemMasterData m_itemID ;
		[DataMember(IsRequired=false)]
		public UFIDA.U9.CBO.SCM.Item.ItemMasterData ItemID
		{
			get	
			{	
				return m_itemID ;
			}
			set	
			{	
				m_itemID = value ;	
			}
		}
			
		

		/// <summary>
		/// 品名
		/// 料品信息 Copy.Misc.品名
		/// </summary>
		private System.String m_itemName ;
		[DataMember(IsRequired=false)]
		public System.String ItemName
		{
			get	
			{	
				return m_itemName ;
			}
			set	
			{	
				m_itemName = value ;	
			}
		}
			
		

		/// <summary>
		/// 料号
		/// 料品信息 Copy.Misc.料号
		/// </summary>
		private System.String m_itemCode ;
		[DataMember(IsRequired=false)]
		public System.String ItemCode
		{
			get	
			{	
				return m_itemCode ;
			}
			set	
			{	
				m_itemCode = value ;	
			}
		}
			
		

		/// <summary>
		/// 等级
		/// 料品信息 Copy.Misc.等级
		/// </summary>
		private System.Int32 m_itemGrade ;
		[DataMember(IsRequired=false)]
		public System.Int32 ItemGrade
		{
			get	
			{	
				return m_itemGrade ;
			}
			set	
			{	
				m_itemGrade = value ;	
			}
		}
			
		

		/// <summary>
		/// 成分
		/// 料品信息 Copy.Misc.成分
		/// </summary>
		private System.Int32 m_itemPotency ;
		[DataMember(IsRequired=false)]
		public System.Int32 ItemPotency
		{
			get	
			{	
				return m_itemPotency ;
			}
			set	
			{	
				m_itemPotency = value ;	
			}
		}
			
		

		/// <summary>
		/// 自由项1
		/// 料品信息 Copy.Misc.自由项1
		/// </summary>
		private UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData m_itemOpt1 ;
		[DataMember(IsRequired=false)]
		public UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData ItemOpt1
		{
			get	
			{	
				return m_itemOpt1 ;
			}
			set	
			{	
				m_itemOpt1 = value ;	
			}
		}
			
		

		/// <summary>
		/// 自由项2
		/// 料品信息 Copy.Misc.自由项2
		/// </summary>
		private UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData m_itemOpt2 ;
		[DataMember(IsRequired=false)]
		public UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData ItemOpt2
		{
			get	
			{	
				return m_itemOpt2 ;
			}
			set	
			{	
				m_itemOpt2 = value ;	
			}
		}
			
		

		/// <summary>
		/// 自由项3
		/// 料品信息 Copy.Misc.自由项3
		/// </summary>
		private UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData m_itemOpt3 ;
		[DataMember(IsRequired=false)]
		public UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData ItemOpt3
		{
			get	
			{	
				return m_itemOpt3 ;
			}
			set	
			{	
				m_itemOpt3 = value ;	
			}
		}
			
		

		/// <summary>
		/// 自由项4
		/// 料品信息 Copy.Misc.自由项4
		/// </summary>
		private UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData m_itemOpt4 ;
		[DataMember(IsRequired=false)]
		public UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData ItemOpt4
		{
			get	
			{	
				return m_itemOpt4 ;
			}
			set	
			{	
				m_itemOpt4 = value ;	
			}
		}
			
		

		/// <summary>
		/// 自由项5
		/// 料品信息 Copy.Misc.自由项5
		/// </summary>
		private UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData m_itemOpt5 ;
		[DataMember(IsRequired=false)]
		public UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData ItemOpt5
		{
			get	
			{	
				return m_itemOpt5 ;
			}
			set	
			{	
				m_itemOpt5 = value ;	
			}
		}
			
		

		/// <summary>
		/// 自由项6
		/// 料品信息 Copy.Misc.自由项6
		/// </summary>
		private UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData m_itemOpt6 ;
		[DataMember(IsRequired=false)]
		public UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData ItemOpt6
		{
			get	
			{	
				return m_itemOpt6 ;
			}
			set	
			{	
				m_itemOpt6 = value ;	
			}
		}
			
		

		/// <summary>
		/// 自由项7
		/// 料品信息 Copy.Misc.自由项7
		/// </summary>
		private UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData m_itemOpt7 ;
		[DataMember(IsRequired=false)]
		public UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData ItemOpt7
		{
			get	
			{	
				return m_itemOpt7 ;
			}
			set	
			{	
				m_itemOpt7 = value ;	
			}
		}
			
		

		/// <summary>
		/// 自由项8
		/// 料品信息 Copy.Misc.自由项8
		/// </summary>
		private UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData m_itemOpt8 ;
		[DataMember(IsRequired=false)]
		public UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData ItemOpt8
		{
			get	
			{	
				return m_itemOpt8 ;
			}
			set	
			{	
				m_itemOpt8 = value ;	
			}
		}
			
		

		/// <summary>
		/// 自由项9
		/// 料品信息 Copy.Misc.自由项9
		/// </summary>
		private UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData m_itemOpt9 ;
		[DataMember(IsRequired=false)]
		public UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData ItemOpt9
		{
			get	
			{	
				return m_itemOpt9 ;
			}
			set	
			{	
				m_itemOpt9 = value ;	
			}
		}
			
		

		/// <summary>
		/// 自由项10
		/// 料品信息 Copy.Misc.自由项10
		/// </summary>
		private UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData m_itemOpt10 ;
		[DataMember(IsRequired=false)]
		public UFIDA.U9.CBO.SCM.FreeItem.FreeItemValueDefData ItemOpt10
		{
			get	
			{	
				return m_itemOpt10 ;
			}
			set	
			{	
				m_itemOpt10 = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																														
		#endregion 
	} 	
}
